iconview: Remove double-MAX when updating rubberband
authorTimm Bäder <mail@baedert.org>
Wed, 11 Oct 2017 08:50:03 +0000 (10:50 +0200)
committerTimm Bäder <mail@baedert.org>
Wed, 11 Oct 2017 08:50:03 +0000 (10:50 +0200)
gtk/gtkiconview.c

index 4cd2487bf16a59475cac36abc94b86911430fafd..0a9b02f6ae87f59c296631a187af38e047fed2f7 100644 (file)
@@ -2360,9 +2360,6 @@ gtk_icon_view_update_rubberband (GtkIconView *icon_view)
   x = MAX (icon_view->priv->mouse_x, 0);
   y = MAX (icon_view->priv->mouse_y, 0);
 
-  x = MAX (x, 0);
-  y = MAX (y, 0);
-
   icon_view->priv->rubberband_x2 = x;
   icon_view->priv->rubberband_y2 = y;